[id].vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <div>
  8. <!--广告组件-->
  9. <templateAd :adTag="'nmw_detail_0001'" :skinId="skinId" :adData="adData"></templateAd>
  10. <!--资讯正文-->
  11. <templateArticle :skinId="skinId" :templateData="testTemplateData" :articleData="articleData" :routeId="routeId"></templateArticle>
  12. </div>
  13. <!-- 底部 -->
  14. <templateFoot></templateFoot>
  15. </template>
  16. <script setup>
  17. //0.加载全局模板组件 start---------------------------------------->
  18. //0.1全局通栏
  19. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  20. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  21. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  22. //0.2局部通栏
  23. //0.2.1广告组件
  24. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  25. //0.2.2资讯正文通栏
  26. import templateArticle from '@/components/template/sector/body/article/article/1200x1710/1.vue'
  27. //0.加载全局模板组件 end---------------------------------------->
  28. //1.获得基本信息单元 start---------------------------------------->
  29. //1.1获得页面依赖
  30. import { ref, onMounted } from 'vue';
  31. //1.2使用url查询导航池id
  32. const targetSegment = getRoutePath(1);//当前页面的url路径 这是第一层 所以获得域名后面的第一层url
  33. const routeId = ref("");//当前url路径代表的cid
  34. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  35. method: 'GET',
  36. query: {
  37. 'pinyin': targetSegment,
  38. },
  39. });
  40. if (getRouteId.code == 200) {
  41. routeId.value = getRouteId.data.category_id
  42. }
  43. //1.3获得二级导航
  44. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  45. method: 'GET',
  46. query: {
  47. 'placeid': 1,
  48. 'pid': routeId.value,
  49. 'num': 8
  50. },
  51. });
  52. //1.4获得pinia源
  53. import { useTemplateBaseStore } from '@/stores/templateBase'
  54. const templateBaseStore = useTemplateBaseStore()
  55. //1.5获得该页的皮肤id - 在每个组件中也是同样的获得方法
  56. const skinId = ref("")
  57. //1.6获得站点基本信息
  58. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  59. method: 'GET',
  60. query: {
  61. 'link_textnum':24,
  62. 'link_imgnum':18,
  63. 'link_footnum':4
  64. },
  65. });
  66. if (responseStatus.code == 200) {
  67. //1.6.1设置站点基本信息
  68. templateBaseStore.setWebSiteInfo(responseStatus.data)
  69. //1.6.2设置皮肤id
  70. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  71. }
  72. //1.7获得广告池
  73. const adData = ref([]);
  74. const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  75. method: 'GET',
  76. query: {},
  77. });
  78. if (adResponseStatus.code == 200) {
  79. templateBaseStore.setAdList(adResponseStatus.data)
  80. adData.value = adResponseStatus.data;
  81. }
  82. //1.8.seo
  83. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  84. method: 'GET',
  85. query: {
  86. 'catid': routeId.value
  87. },
  88. });
  89. let seoTitle = setData.data.seo_title;
  90. let seoDescription = setData.data.seo_description;
  91. let seoKeywords = setData.data.seo_keywords;
  92. let seoSuffix = setData.data.suffix;
  93. let seoName = setData.data.website_name;
  94. useSeoMeta({
  95. title: seoTitle + "_" + seoSuffix,
  96. meta: [
  97. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  98. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  99. ]
  100. });
  101. //1.获得基本信息单元 end---------------------------------------->
  102. //2.获得页面数据 start---------------------------------------->
  103. //2.0 测试数据 后期移除
  104. const articleData = {
  105. "code": 200,
  106. "message": "success",
  107. "data": {
  108. "id": null,
  109. "catid": 315,
  110. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  111. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  112. "tag": "",
  113. "keyword": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  114. "author": "lin",
  115. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  116. "fromurl": "",
  117. "hits": 0,
  118. "ip": "114.255.249.227, 127.0.0.1",
  119. "status": 1,
  120. "islink": 0,
  121. "linkurl": "",
  122. "imgurl": "http://img.bjzxtw.org.cn/pre/image/png/20250620/1750408152809621.png",
  123. "admin_user_id": 79,
  124. "cat_arr_id": "[28,315]",
  125. "created_at": "2025-03-19 13:58:49",
  126. "updated_at": "2025-07-15 17:10:29",
  127. "is_original": 1,
  128. "survey_id": "",
  129. "survey_name": "",
  130. "is_survey": 0,
  131. "survey_type": 0,
  132. "web_site_id": "2",
  133. "ignore_ids": null,
  134. "reason": null,
  135. "department_arr_id": "[]",
  136. "department_id": 0,
  137. "city_arr_id": "[]",
  138. "city_id": 0,
  139. "level": "[2]",
  140. "commend_id": "[3505]",
  141. "level_text": "[2]",
  142. "article_id": null,
  143. "content": "<p>新华社北京3月18日电 3月18日,国家副主席韩正在北京会见英国伦敦金融城市长靳翊伟。</p><p>韩正表示,伦敦金融城是世界著名金融中心,为推动中英金融、经贸领域合作作出积极贡献。中国和英国同为世界主要经济体,合作互补性强、前景广阔。无论世界如何变化,中国内外政策都会保持连贯性。中方愿同英方秉持战略伙伴定位,加强沟通合作,共同推动世界多极化、经济全球化,落实好两国领导人达成的重要共识,使中英合作成果更好惠及两国和世界。</p><p>靳翊伟表示,英中在绿色经济、可持续金融、可再生能源领域合作前景巨大。伦敦金融城欢迎更多中资企业赴伦敦发展兴业,愿全力提供支持和便利。</p>",
  144. "website_url": null,
  145. "email": null,
  146. "contacts": null,
  147. "contacts_mobile": null,
  148. "contacts_address": null,
  149. "zip_code": null,
  150. "enterprise_name": null,
  151. "category_id": 315,
  152. "cat_name": "三农专题",
  153. "website_name": "三农资讯网-测试专用",
  154. "suffix": "全国三农信息一体化应用平台",
  155. "commendArticle": [
  156. {
  157. "id": 3505,
  158. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  159. "catid": 1,
  160. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  161. "hits": 0,
  162. "created_at": "2025-02-19 20:30:35"
  163. }
  164. ]
  165. }
  166. }
  167. //2.0 测试数据 后期移除
  168. const testTemplateData = {
  169. "sectorName": "text",
  170. "componentList": [
  171. {
  172. "component_type": 1,//1=新闻 2=广告
  173. "component_style": 1,//样式
  174. "sort": 1,//组件位置
  175. "data": {
  176. "alias":"一级导航名称",
  177. "category_id": 11,
  178. "pinyin": "nongyeshengchan",
  179. "text": [
  180. {
  181. "id": 2863,
  182. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  183. "islink": 0,
  184. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  185. },
  186. {
  187. "id": 50129,
  188. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  189. "islink": 0,
  190. "pinyin": "sannongzixun"
  191. },
  192. {
  193. "id": 50129,
  194. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  195. "islink": 0,
  196. "pinyin": "sannongzixun"
  197. },
  198. {
  199. "id": 2862,
  200. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  201. "islink": 0,
  202. "pinyin": "sannongzixun/buweidongtai"
  203. },
  204. {
  205. "id": 50126,
  206. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  207. "islink": 0,
  208. "pinyin": "sannongzixun"
  209. },
  210. {
  211. "id": 3976,
  212. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  213. "islink": 0,
  214. "pinyin": "sannongzixun"
  215. },
  216. {
  217. "id": 50189,
  218. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  219. "islink": 0,
  220. "pinyin": "nongminhezuoshe"
  221. },
  222. {
  223. "id": 50190,
  224. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  225. "islink": 0,
  226. "pinyin": "nongminhezuoshe"
  227. }
  228. ],
  229. "img": [
  230. {
  231. "id": 50129,
  232. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  233. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  234. "author": "linyuting123",
  235. "updated_at": "2025-05-30 13:50:54",
  236. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  237. "islink": 0,
  238. "linkurl": "",
  239. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  240. "cat_arr_id": "[1,201]",
  241. "catid": 201,
  242. "level": "[1,2,3]",
  243. "pinyin": "sannongzixun"
  244. },
  245. {
  246. "id": 50129,
  247. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  248. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  249. "author": "佚名",
  250. "updated_at": "2025-05-30 13:50:46",
  251. "introduce": "描述",
  252. "islink": 0,
  253. "linkurl": "",
  254. "copyfrom": "本网",
  255. "cat_arr_id": "[2]",
  256. "catid": 2,
  257. "level": "[2,3]",
  258. "pinyin": "sannongzixun"
  259. },
  260. {
  261. "id": 50129,
  262. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  263. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  264. "author": "佚名",
  265. "updated_at": "2025-05-30 13:50:45",
  266. "introduce": "描述",
  267. "islink": 0,
  268. "linkurl": "",
  269. "copyfrom": "本网",
  270. "cat_arr_id": "[1]",
  271. "catid": 1,
  272. "level": "[2]",
  273. "pinyin": "sannongzixun"
  274. },
  275. {
  276. "id": 50129,
  277. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  278. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  279. "author": "佚名",
  280. "updated_at": "2025-05-30 13:50:44",
  281. "introduce": "描述",
  282. "islink": 0,
  283. "linkurl": "",
  284. "copyfrom": "本网",
  285. "cat_arr_id": "[11]",
  286. "catid": 11,
  287. "level": "[2]",
  288. "pinyin": "xinnongcun"
  289. },
  290. {
  291. "id": 50129,
  292. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  293. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  294. "author": "佚名",
  295. "updated_at": "2025-05-30 13:50:43",
  296. "introduce": "描述",
  297. "islink": 0,
  298. "linkurl": "",
  299. "copyfrom": "本网",
  300. "cat_arr_id": "[14,240]",
  301. "catid": 240,
  302. "level": "[2,3]",
  303. "pinyin": "sannongzixun"
  304. },
  305. {
  306. "id": 50129,
  307. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  308. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  309. "author": "佚名",
  310. "updated_at": "2025-04-16 11:04:29",
  311. "introduce": "描述",
  312. "islink": 0,
  313. "linkurl": "",
  314. "copyfrom": "本网",
  315. "cat_arr_id": null,
  316. "catid": 36,
  317. "level": "[2]",
  318. "pinyin": "sannongzixun"
  319. }
  320. ]
  321. }
  322. },
  323. {
  324. "component_type": 1,//1=新闻 2=广告
  325. "component_style": 1,//样式
  326. "sort": 1,//组件位置
  327. "data": {
  328. "alias":"最新资讯",
  329. "category_id": 11,
  330. "pinyin": "sannongzixun/zhengcefagui",
  331. "text": [
  332. {
  333. "id": 2863,
  334. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  335. "islink": 0,
  336. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  337. },
  338. {
  339. "id": 50129,
  340. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  341. "islink": 0,
  342. "pinyin": "sannongzixun"
  343. },
  344. {
  345. "id": 50129,
  346. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  347. "islink": 0,
  348. "pinyin": "sannongzixun"
  349. },
  350. {
  351. "id": 2862,
  352. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  353. "islink": 0,
  354. "pinyin": "sannongzixun/buweidongtai"
  355. },
  356. {
  357. "id": 50126,
  358. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  359. "islink": 0,
  360. "pinyin": "sannongzixun"
  361. },
  362. {
  363. "id": 3976,
  364. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  365. "islink": 0,
  366. "pinyin": "sannongzixun"
  367. },
  368. {
  369. "id": 50189,
  370. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  371. "islink": 0,
  372. "pinyin": "nongminhezuoshe"
  373. },
  374. {
  375. "id": 50190,
  376. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  377. "islink": 0,
  378. "pinyin": "nongminhezuoshe"
  379. }
  380. ],
  381. "img": [
  382. {
  383. "id": 50129,
  384. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  385. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  386. "author": "linyuting123",
  387. "updated_at": "2025-05-30 13:50:54",
  388. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  389. "islink": 0,
  390. "linkurl": "",
  391. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  392. "cat_arr_id": "[1,201]",
  393. "catid": 201,
  394. "level": "[1,2,3]",
  395. "pinyin": "sannongzixun"
  396. },
  397. {
  398. "id": 50129,
  399. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  400. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  401. "author": "佚名",
  402. "updated_at": "2025-05-30 13:50:46",
  403. "introduce": "描述",
  404. "islink": 0,
  405. "linkurl": "",
  406. "copyfrom": "本网",
  407. "cat_arr_id": "[2]",
  408. "catid": 2,
  409. "level": "[2,3]",
  410. "pinyin": "sannongzixun"
  411. },
  412. {
  413. "id": 50129,
  414. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  415. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  416. "author": "佚名",
  417. "updated_at": "2025-05-30 13:50:45",
  418. "introduce": "描述",
  419. "islink": 0,
  420. "linkurl": "",
  421. "copyfrom": "本网",
  422. "cat_arr_id": "[1]",
  423. "catid": 1,
  424. "level": "[2]",
  425. "pinyin": "sannongzixun"
  426. },
  427. {
  428. "id": 50129,
  429. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  430. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  431. "author": "佚名",
  432. "updated_at": "2025-05-30 13:50:44",
  433. "introduce": "描述",
  434. "islink": 0,
  435. "linkurl": "",
  436. "copyfrom": "本网",
  437. "cat_arr_id": "[11]",
  438. "catid": 11,
  439. "level": "[2]",
  440. "pinyin": "xinnongcun"
  441. },
  442. {
  443. "id": 50129,
  444. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  445. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  446. "author": "佚名",
  447. "updated_at": "2025-05-30 13:50:43",
  448. "introduce": "描述",
  449. "islink": 0,
  450. "linkurl": "",
  451. "copyfrom": "本网",
  452. "cat_arr_id": "[14,240]",
  453. "catid": 240,
  454. "level": "[2,3]",
  455. "pinyin": "sannongzixun"
  456. },
  457. {
  458. "id": 50129,
  459. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  460. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  461. "author": "佚名",
  462. "updated_at": "2025-04-16 11:04:29",
  463. "introduce": "描述",
  464. "islink": 0,
  465. "linkurl": "",
  466. "copyfrom": "本网",
  467. "cat_arr_id": null,
  468. "catid": 36,
  469. "level": "[2]",
  470. "pinyin": "sannongzixun"
  471. }
  472. ]
  473. }
  474. },
  475. {
  476. "component_type": 1,//1=新闻 2=广告
  477. "component_style": 1,//样式
  478. "sort": 3,//组件位置
  479. "data": {
  480. "alias":"热点精选",
  481. "category_id": 11,
  482. "pinyin": "sannongzixun/zhengcefagui",
  483. "text": [
  484. {
  485. "id": 2863,
  486. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  487. "islink": 0,
  488. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  489. },
  490. {
  491. "id": 50129,
  492. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  493. "islink": 0,
  494. "pinyin": "sannongzixun"
  495. },
  496. {
  497. "id": 50129,
  498. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  499. "islink": 0,
  500. "pinyin": "sannongzixun"
  501. },
  502. {
  503. "id": 2862,
  504. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  505. "islink": 0,
  506. "pinyin": "sannongzixun/buweidongtai"
  507. },
  508. {
  509. "id": 50126,
  510. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  511. "islink": 0,
  512. "pinyin": "sannongzixun"
  513. },
  514. {
  515. "id": 3976,
  516. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  517. "islink": 0,
  518. "pinyin": "sannongzixun"
  519. },
  520. {
  521. "id": 50189,
  522. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  523. "islink": 0,
  524. "pinyin": "nongminhezuoshe"
  525. },
  526. {
  527. "id": 50190,
  528. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  529. "islink": 0,
  530. "pinyin": "nongminhezuoshe"
  531. }
  532. ],
  533. "img": [
  534. {
  535. "id": 50129,
  536. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  537. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  538. "author": "linyuting123",
  539. "updated_at": "2025-05-30 13:50:54",
  540. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  541. "islink": 0,
  542. "linkurl": "",
  543. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  544. "cat_arr_id": "[1,201]",
  545. "catid": 201,
  546. "level": "[1,2,3]",
  547. "pinyin": "sannongzixun"
  548. },
  549. {
  550. "id": 50129,
  551. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  552. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  553. "author": "佚名",
  554. "updated_at": "2025-05-30 13:50:46",
  555. "introduce": "描述",
  556. "islink": 0,
  557. "linkurl": "",
  558. "copyfrom": "本网",
  559. "cat_arr_id": "[2]",
  560. "catid": 2,
  561. "level": "[2,3]",
  562. "pinyin": "sannongzixun"
  563. },
  564. {
  565. "id": 50129,
  566. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  567. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  568. "author": "佚名",
  569. "updated_at": "2025-05-30 13:50:45",
  570. "introduce": "描述",
  571. "islink": 0,
  572. "linkurl": "",
  573. "copyfrom": "本网",
  574. "cat_arr_id": "[1]",
  575. "catid": 1,
  576. "level": "[2]",
  577. "pinyin": "sannongzixun"
  578. },
  579. {
  580. "id": 50129,
  581. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  582. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  583. "author": "佚名",
  584. "updated_at": "2025-05-30 13:50:44",
  585. "introduce": "描述",
  586. "islink": 0,
  587. "linkurl": "",
  588. "copyfrom": "本网",
  589. "cat_arr_id": "[11]",
  590. "catid": 11,
  591. "level": "[2]",
  592. "pinyin": "xinnongcun"
  593. },
  594. {
  595. "id": 50129,
  596. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  597. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  598. "author": "佚名",
  599. "updated_at": "2025-05-30 13:50:43",
  600. "introduce": "描述",
  601. "islink": 0,
  602. "linkurl": "",
  603. "copyfrom": "本网",
  604. "cat_arr_id": "[14,240]",
  605. "catid": 240,
  606. "level": "[2,3]",
  607. "pinyin": "sannongzixun"
  608. },
  609. {
  610. "id": 50129,
  611. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  612. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  613. "author": "佚名",
  614. "updated_at": "2025-04-16 11:04:29",
  615. "introduce": "描述",
  616. "islink": 0,
  617. "linkurl": "",
  618. "copyfrom": "本网",
  619. "cat_arr_id": null,
  620. "catid": 36,
  621. "level": "[2]",
  622. "pinyin": "sannongzixun"
  623. }
  624. ]
  625. }
  626. },
  627. ],
  628. "ad": {
  629. "ad_tag": "nmw_index_0003"
  630. }
  631. }
  632. //2.获得页面数据 end---------------------------------------->
  633. </script>
  634. <style lang="less" scoped>
  635. @import url('@/assets/css/detail.less');
  636. </style>